<script setup>

import SonView from "@/views/SonView.vue";
import {onMounted, ref, toRef} from "vue";

const sonRef = ref(null)

onMounted(() => {
  const rr = toRef(sonRef.value, 'name')
  console.log(rr.value)
})

</script>

<template>
  <SonView ref="sonRef"></SonView>
</template>